﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class admincp_khoilop : AdminPage
{
    protected void Page_Load(object sender, EventArgs e)
    {

    }

    protected void Page_PreRender(object sender, EventArgs e)
    {
        this.FillDataToListview();
    }

    private void FillDataToListview() //đổ dữ liệu vào listview môn học
    {
        lvKhoiLop.DataSource = db.KhoiLops;
        lvKhoiLop.DataBind();
    }

    protected void ThemMoiKhoiLop(object sender, EventArgs e)
    {
        Response.Redirect("qlkhoilop.aspx?hanhdong=themmoi");
    }
}